package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.dto.SysClientPageParam;
import com.xinsoft.entity.po.SysClient;
import com.xinsoft.entity.vo.SysClientVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author hsm
* @description 针对表【sys_client(客户)】的数据库操作Mapper
* @createDate 2023-05-23 13:04:00
* @Entity com.xinsoft.entity.po.SysClient
*/
public interface SysClientMapper extends BaseMapper<SysClient> {
    IPage<SysClientVo> findListByParam(Page<?> page, @Param("param") SysClientPageParam param);

    List<SysClientVo> findListByParam(@Param("param")SysClientPageParam param);

    void insertOrUpdateBatch(List<SysClient> sysClientList);
}




